export const TYPE_VALUE_MAP = {
  fieldType: {
    str: 0,
    num: 6,
    date: 7,
    geo: 13,
    img: 14
  },
  fieldClassify: {
    dimension: 1, // 维度
    measure: 0 // 度量
  },
  dateType: {
    year: 0,
    quarter: 1,
    month: 2,
    week: 3,
    day: 4,
    ymdhms: 5
  },
  aggrType: {
    sum: 0, // 求和
    cnt: 1, // 计数
    min: 2, // 最小值
    max: 3, // 最大值
    avg: 4, // 平均值
    cntd: 5 // 去重计数
  },
  combineType: {
    and: 0,
    or: 1
  },
  operator: {
    '=': 0,
    '<=': 11,
    '>=': 14,
    '<': 10,
    '>': 15,
    '!=': 4,
    like: 1,
    start_with: 2,
    end_with: 3,
    not_like: 5,
    empty: 6,
    not_empty: 7,
    null: 8,
    not_null: 9,
    equal: 12,
    not_equal: 13,
    in: 16,
    not_in: 17,
    between: 18
  }
}
